package com.lp.biz.system.mapper;

import com.lp.biz.system.model.dto.MenuDto;
import com.lp.biz.system.model.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * SysMenuMapper 接口
 * @program: backend
 * @author Ke.Song
 * @since 2024-05-19 00:37:24
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 获取所有菜单
     * @param memberId 用户id
     * @return 查询结果
     */
    List<MenuDto> getAllMenu(Integer memberId);

}
